﻿using com.iot.core.annotation;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Linq;

namespace com.iot.core.data.entity
{
    [Schema(Name = "表ID表", Description = "")]     
    public class HtTbid : BaseEntity
    {





        [Comment("表名")]
        [Schema(Name = "表名", Description = "")]
        [MaxLength(100)]
        public string Tname { get; set; } = "";


        [Comment("包含日期")]
        [Schema(Name = "包含日期", Description = "")]
        public bool IncludeDt { get; set; }


        [Comment("当前日期")]
        [Schema(Name = "当前日期", Description = "")]
        [MaxLength(10)]
        public string CurrentDt { get; set; } = "";


        [Comment("每天从新开始")]
        [Schema(Name = "每天从新开始", Description = "")]
        public bool DayRestart { get; set; }


        [Comment("ID长度")]
        [Schema(Name = "ID长度", Description = "")]
        public int IdLength { get; set; }


        [Comment("当前值")]
        [Schema(Name = "当前值", Description = "")]
        public long Idv { get; set; }
    }
}
